<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form:form action="${pageContext.request.contextPath}/student/addStudent.action"
		method="post"
	>
		<table>
			<tr>
				<td>ID</td>
				<td><input type="text" name="id" /></td>
			</tr>
			<tr>
				<td>姓名</td>
				<td><input type="text" name="name" /></td>
			</tr>
			<tr>
				<td>学科</td>
				<td><input type="text" name="subject" /></td>
			</tr>
			<tr>
				<td>成绩</td>
				<td><input type="text" name="score" /></td>
			</tr>
			<tr>
				<td><input type="submit" name="btnSubmit" value="保存"/></td>
				<td></td>
			</tr>
		</table>
	</form:form>
</body>
</html>